"use strict";
require([
    'polyfill',
    './dev/layer',
    './dev/nav',
    './dev/menu',
    "text!tpl/subList.hbs"
], function (polyfill, layer, nav, menu, subList) {

    nav.showNav();

    menu.showMenu();

    //layer.loadLayer();

    var data = { //数据
        "title": "Layui常用模块",
        "list": [
            {
                "imgSrc": "./images/1.jpg",
                "type": "信息中心",
                "titile": "大数据",
                "url":"sea-data.html"
            },
            {
                "imgSrc": "./images/2.jpg",
                "type": "信息中心",
                "titile": "微信公众号",
                "url":"chatList.html"
            },
            {
                "imgSrc": "./images/3.jpg",
                "type": "信息中心",
                "titile": "微信公众号",
                "url":"chatList.html"
            },
            {
                "imgSrc": "./images/4.jpg",
                "type": "信息中心",
                "titile": "微信公众号",
                "url":"chatList.html"
            },
            {
                "imgSrc": "./images/5.jpg",
                "type": "信息中心",
                "titile": "微信公众号",
                "url":"chatList.html"
            },
            {
                "imgSrc": "./images/6.jpg",
                "type": "信息中心",
                "titile": "微信公众号",
                "url":"chatList.html"
            },
            {
                "imgSrc": "./images/1.jpg",
                "type": "信息中心",
                "titile": "微信公众号",
                "url":"chatList.html"
            }
        ]
    };

    //layer.setlayTpl('laytpl', 'slides', subList, data)






});
